package com.njwb.day15.zqzb.meiju;

public enum Hero {
    张("张三", "15"),
    李("李四", "15"),
    王("王五", "15");

    private final String name;
    private final String age;

    Hero(String name, String age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }
    public String getAge(){return  age;}
/*
    @Override
    public String toString() {
        return name+"年龄"+age;
    }*/
}
